//
// Created by Zhangwj on 2023/9/26.
//

#include "ConstExpNode.h"

std::unique_ptr<ConstExpNode> ConstExpNode::ConstExpParser(Parser &parser) {
    // ConstExp → AddExp
    std::unique_ptr<ConstExpNode> constExpNode = std::make_unique<ConstExpNode>();
    constExpNode->AddExp = AddExpNode::AddExpParser(parser);
    return constExpNode;
}
